Skip to content

Add a mocker test for __version__ fallback. #147

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 1, 2023

Conversation

samcunliffe
Copy link
Collaborator

@samcunliffe samcunliffe commented Jun 1, 2023

Test the versioning fallback code by using the mocker to patch sys.modules.

A little bit trivial, but moves us closer to 100% coverage. This might make it easier to spot coverage drops. And also good for developer morale.

@dstansby dstansby added this pull request to the merge queue Jun 1, 2023
Merged via the queue into matplotlib:main with commit 81169c3 Jun 1, 2023
@samcunliffe samcunliffe deleted the test-version-fallback branch June 1, 2023 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants